import {
  request
} from "./request";

// 首页 
// 场馆弹窗数据
// 医疗点
export const GetMedicalPointPerson = (data) => {
  return request({
    url: "/Maintain/GetMedicalPointPerson",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 车辆
export const GetAmbList = (data) => {
  return request({
    url: "/Maintain/GetAmbList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};
// 药品耗材
export const GetDACList = (data) => {
  return request({
    url: "/Maintain/GetDACList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 药品耗材医疗点列表
export const GetDACInsufficient = (data) => {
  return request({
    url: "/Maintain/GetDACInsufficient",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 医疗点药品耗材详情信息
export const GetInsufficient = (data) => {
  return request({
    url: "/Maintain/GetInsufficient",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 车辆人员
export const GetAmbUserList = (data) => {
  return request({
    url: "/Maintain/GetAmbUserList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};
// 医疗点人员
export const GetMedicalPointUserList = (data) => {
  return request({
    url: "/Maintain/GetMedicalPointUserList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};



// 医疗点
export const QueryMedicalPointList = (data) => {
  return request({
    url: "/Maintain/QueryMedicalPointList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};
//获取人员
export const QueryUserList = (data) => {
  return request({
    url: "/Maintain/QueryUserList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 获取车辆
export const QueryAmbulanceList = (data) => {
  return request({
    url: "/Maintain/QueryAmbulanceList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 获取接诊人员列表

export const QueryPatientList = (data) => {
  return request({
    url: "/Maintain/QueryPatientList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

// 获取医疗点信息

export const QueryMedicalPointUserList = (data) => {
  return request({
    url: "/Maintain/QueryMedicalPointUserList",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

export const QueryNotGuaranteeAmb = (data) => {
  return request({
    url: "/Maintain/QueryNotGuaranteeAmb",
    method: "post",
    data,
    headers: {
      "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
    },
  });
};

